import React from 'react'
import Top from './top/top'
import Footer from './footer/footer'
import Middle from './middle/middle'
// import Input from '../components/input'
export default class App extends React.Component{
    // state ={
    //     ipt:'请输入用户名',
    //     ipt2:'请输入密码',
    //     ipt3:'请输入备注'
    // }
    // onchange=(e)=>{
    //     this.setState({
    //         [e.target.name]:e.target.value
    //     })
    // }
    render(){
        return (
            <div>
                <Top></Top>
                <Middle></Middle>
                <Footer></Footer>
                {/* <br/>
                <Input title='用户' type='text' model={{name:'ipt',value:this.state.ipt,fun:this.onchange}}/>
                <Input title='密码' type='password' model={{name:'ipt2',value:this.state.ipt2,fun:this.onchange}}/>
                <Input area title='备注' model={{name:'ipt3',value:this.state.ipt3,fun:this.onchange}}/> */}
            </div>
        )
    }
}